<template>
  <div class="index">
    <el-container>
      <el-header>
        <el-breadcrumb>
          <el-breadcrumb-item>首页</el-breadcrumb-item>
        </el-breadcrumb>
      </el-header>
      <el-main>
        <p>早安，{{userInfo.name}}，祝你开心每一天</p>
      </el-main>
    </el-container>
  </div>
</template>

<script>
export default {
  props: {
    userInfo: {
      type: Object,
      default: {}
    }
  }
}
</script>

<style scoped>
.index .el-header {
  height: 60px;
  border-bottom: 1px solid #f3f3f3;
}
.el-breadcrumb {
  height: 60px;
  line-height: 60px;
}
</style>